package com.loong.system.common.backend.param;

import com.loong.common.validator.group.CommonUpdate;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * @Description:
 * @Author: hzp
 * @Date: 2020-12-1 11:53
 */
@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class SystemConfigStatusParam {
    /**
     * 配置id
     */
    @NotNull(groups = {CommonUpdate.class},message = "id不能为空")
    private Long id;
    /**
     * 配置启用状态
     */
    @NotNull(groups = {CommonUpdate.class},message = "启用状态不能为空")
    private Boolean flag;
}
